PDF Plugin for Xojo

Page.SetFont Method (console safe)

Sets font for the graphics context on the page.

SetFont(
   fontType as Font,
   size as Single)

Parameters

fontType
The font to set.
size
Size of the font. This does not have to be whole number, so it can be for example 11.5 or 12.

Remarks

GraphicsMode can be either in PAGE_DESCRIPTION or in TEXT_OBJECT mode when calling this method.

See Also

Page Class